<?exit?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset={$_G['charset']}" />
		<title>{$seo_title}</title>
		<meta name="description" content="{$seo_description}" />
		<meta name="keywords" content="$seo_keywords" />
		<script charset="utf-8" type="text/javascript" src="static/js/jquery.js"></script>
		<script charset="utf-8" type="text/javascript" src="static/js/common.js"></script>
		<script charset="utf-8" type="text/javascript" src="static/js/viewgoodspic.js"></script>
		<script charset="utf-8" type="text/javascript" src="static/js/jquery.cycle.lite.min.js"></script>

		<link type="text/css" rel="stylesheet" href="static/css/common.css" />
		<link type="text/css" rel="stylesheet" href="static/css/common_store.css" />
		<!--{if $btheme=='default'}-->
		<link rel="stylesheet" type="text/css" href="static/css/store.css" />
		<!--{else}-->
		<link rel="stylesheet" type="text/css" href="templates/store/{$btheme}/style.css" />
		<!--{/if}-->

		<!--{if $cur_store_style}-->
		<!--{if $btheme!='default' && in_array($cur_store_style, array("index", "intro", "album", "goods", "consume", "groupbuy"))}-->
		<link type="text/css" rel="stylesheet" href="templates/store/default/{$cur_store_style}.css" />
		<!--{/if}-->
		<link type="text/css" rel="stylesheet" href="templates/store/{$btheme}/{$cur_store_style}.css" />
		<!--{/if}-->
		<script type="text/javascript">var cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}';</script>
	</head>

	<body>
		<!--{if $_G['uid']}-->
		<ul id="navmsg_menu" class="nav_msglist" style="display:none; width:90px;">
			<!--{if $_G['myshopid'] > 0}-->
			<li onmouseout="this.className='mout'" onmouseover="this.className='mover'"><a onclick="pm_view('systempm');" href="javascript:;">{$lang['pm_shop_notice']}({$pm_new['newpm']})</a></li>
			<!--{else}-->
			<li onmouseout="this.className='mout'" onmouseover="this.className='mover'"><a href="pm.php?filter=systempm" target="_blank">{$lang['pm_system']}({$pm_new['newpm']})</a></li>
			<!--{/if}-->
			<li onmouseout="this.className='mout'" onmouseover="this.className='mover'"><a href="pm.php?filter=privatepm" target="_blank">{$lang['pm_personal']}({$pm_new['newprivatepm']})</a></li>
			<li onmouseout="this.className='mout'" onmouseover="this.className='mover'"><a href="pm.php?filter=announcepm" target="_blank">{$lang['pm_announce']}({$pm_new['newchatpm']})</a></li>
		</ul>

		<ul id="myshopmenu_menu" class="nav_msglist" style="position:absolute; display:none; width:135px;">
		<!--{loop $_G['smallmyshopsarr'] $myshop}-->
			<li onmouseout="this.className='mout'" onmouseover="this.className='mover'"><a href="{$_G['manageshopurl']}{$myshop['itemid']}" title="$lang['myshop_tomanage']" class="y">$lang['myshop_tomanage']</a><a href="store.php?id={$myshop['itemid']}" title="{$myshop['subject']}" target="_blank">{$myshop['briefsubject']}</a></li>
		<!--{/loop}-->
		<!--{if $_G['member']['shopcount'] > 10}-->
			<li><a href="#" onclick="showWindow('moreshops', 'shop', '', '{$lang[myshop]}');">{$lang['myshop_moreshops']}</a></li>
		<!--{/if}-->
		</ul>
		<!--{/if}-->

		<div class="topnav cl">
			<div style="width:960px; margin:auto;">
			<!--{if $_G['uid']}-->
			<p class="y navinf">
				<strong><span class="vwmy">{eval echo stripslashes($_G['username'])}</span></strong>
				<!--{if $_G['firstshopid']}-->
				<span class="pipe"> | </span>
				<a target="_blank" href="store.php?id={$_G['firstshopid']}" id="myshopmenu" onmouseover="showMenu(this.id)" class="showmenu">{$lang['myshop']}</a>
				<!--{/if}-->
				<!--{if ckfounder($_G['uid']) || $_G['member']['allowadmincp']}-->
				<span class="pipe"> | </span><a target="_blank" href="admin.php">{$lang['admincp']}</a>
				<!--{/if}-->
				<!--{if exists_discuz()}-->
				<span class="pipe"> | </span>
				<a href="pm.php?filter=privatepm" target="_blank" id="navmsg" {if $pm_new['newpm']}class="new"{/if} onmouseover="showMenu(this.id)">{$lang['pm_new']}{if $pm_new['newpm']}({$pm_new['newpm']}){/if}</a>
				<!--{/if}-->
				<span class="pipe"> | </span><a rel="nofollow" href="batch.login.php?action=logout">{$lang['logout']}</a>
			</p>
			<!--{else}-->
			<p class="y navinf" style="margin-right:150px;">
				<a href="javascript:;" onclick="return show_message('', '$lang['login']', 2, 'batch.login.php?action=login' );">{$lang['login']}</a>
				<!--{if $_G['setting']['regurl']}-->
				<span class="pipe"> | </span>
				<a target="_blank" href="{$_G['setting']['regurl']}">{$lang['register']}</a>
				<!--{/if}-->
			</p>
			<!--{/if}-->
			<ul class="cl">
				<li class="navlogo"><a href="{$_G['siteurl']}">$_G['setting']['sitename']</a></li>
				<li><span>&nbsp;&nbsp;{$shop['subject']}</span></li>
			</ul>
			</div>
		</div>

		<div id="append_parent"></div>
		<div class="bg_banner">
			<img src="{$shop['banner']}" width="980" height="150" />
		</div>
		<div id="header" class="layout">
			<!--{if !$shop_close}-->
			<!--{eval $shop['styletitle'] = pktitlestyle($shop['styletitle']);}-->
			<h2  style="{$shop['styletitle']}">{$shop['subject']}</h2>
			<h4>{$shop['subject']}</h4>
			<div class="siteurl">
				<a title="$lang['copylink']" href="javascript:;" onclick="javascript:setCopy('{$shop[shopurl]}');"><img src="static/image/icon_siteinfo.gif" alt="$lang['copylink']"></a>
				<a title="$lang['addfav']" href="javascript:;" onclick="javascript:addBookmark('{$shop[subject]}', '{$shop[shopurl]}');"><img src="static/image/icon_add.gif" alt="$lang['addfav']"></a>
				<a title="{$lang['shopaddr']}{$lang['colon']}" href="{$shop['shopurl']}">{$shop['shopurl']}</a>
			</div>

			<ul class="menu">
				<!--{loop $shop['nav'] $v}-->
				<li{$mouseover[$v['flag']]}><a href="$v['url']" title="$v['name']" $v['target']><span $v['style']>$v['name']</span></a></li>
				<!--{/loop}-->
			</ul>
			<!--{/if}-->
		</div><!-- Header 结束 -->
		<script charset="utf-8" type="text/javascript" src="static/js/effect_common.js"></script>
		<script type="text/javascript">
			function addupcid(upcid,id) {
				//$("#upcid"+id).val(upcid);
				document.getElementById("upcid_"+id).value = upcid;
				<!--{if $_G['setting']['commentmodel'] && $action == 'index' && $_SGLOBAL['commentmodel']['scorename'] && $_G['uid'] != $shop['uid']}-->
				document.getElementById("comment_score_area").style.display = "none";
				document.getElementById("score_hidden").style.display = "none";	
				<!--{/if}-->	
				document.getElementById("reply_"+id).style.display = "";
				document.getElementById("replyname_"+id).innerHTML= document.getElementById('comauth_'+upcid).innerHTML;
				document.getElementById("commentmessage_"+id).focus();

			}
		</script>
